\hypertarget{randomizedselect__test_8h}{}\section{src/select\+\_\+algorithms/randomized\+\_\+select/randomizedselect\+\_\+test.h File Reference}
\label{randomizedselect__test_8h}\index{src/select\+\_\+algorithms/randomized\+\_\+select/randomizedselect\+\_\+test.\+h@{src/select\+\_\+algorithms/randomized\+\_\+select/randomizedselect\+\_\+test.\+h}}
{\ttfamily \#include \char`\"{}src/google\+\_\+test/gtest.\+h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}randomizedselect.\+h\char`\"{}}\\*
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{randomizedselect__test_8h_af8d5a5d3864ec075ec89009a819bf7ed}{T\+E\+S\+T} (test\+\_\+radom\+\_\+index, test\+\_\+random)
\begin{DoxyCompactList}\small\item\em radom\+\_\+index\+\_\+test：测试随机数的生成 \end{DoxyCompactList}\item 
\hyperlink{randomizedselect__test_8h_a9c7f8340d8feca1ae36c86ac11f8ba29}{T\+E\+S\+T} (test\+\_\+randomized\+\_\+select, test\+\_\+\+C\+\_\+array)
\begin{DoxyCompactList}\small\item\em randomized\+\_\+select\+\_\+test：测试\+C数组的顺序统计量 \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Function Documentation}
\hypertarget{randomizedselect__test_8h_af8d5a5d3864ec075ec89009a819bf7ed}{}\index{randomizedselect\+\_\+test.\+h@{randomizedselect\+\_\+test.\+h}!T\+E\+S\+T@{T\+E\+S\+T}}
\index{T\+E\+S\+T@{T\+E\+S\+T}!randomizedselect\+\_\+test.\+h@{randomizedselect\+\_\+test.\+h}}
\subsubsection[{T\+E\+S\+T(test\+\_\+radom\+\_\+index, test\+\_\+random)}]{\setlength{\rightskip}{0pt plus 5cm}T\+E\+S\+T (
\begin{DoxyParamCaption}
\item[{test\+\_\+radom\+\_\+index}]{, }
\item[{test\+\_\+random}]{}
\end{DoxyParamCaption}
)}\label{randomizedselect__test_8h_af8d5a5d3864ec075ec89009a819bf7ed}


radom\+\_\+index\+\_\+test：测试随机数的生成 

测试10次生成的数，如果这是个随机数全部相同，则有问题 

Definition at line 12 of file randomizedselect\+\_\+test.\+h.

\hypertarget{randomizedselect__test_8h_a9c7f8340d8feca1ae36c86ac11f8ba29}{}\index{randomizedselect\+\_\+test.\+h@{randomizedselect\+\_\+test.\+h}!T\+E\+S\+T@{T\+E\+S\+T}}
\index{T\+E\+S\+T@{T\+E\+S\+T}!randomizedselect\+\_\+test.\+h@{randomizedselect\+\_\+test.\+h}}
\subsubsection[{T\+E\+S\+T(test\+\_\+randomized\+\_\+select, test\+\_\+\+C\+\_\+array)}]{\setlength{\rightskip}{0pt plus 5cm}T\+E\+S\+T (
\begin{DoxyParamCaption}
\item[{test\+\_\+randomized\+\_\+select}]{, }
\item[{test\+\_\+\+C\+\_\+array}]{}
\end{DoxyParamCaption}
)}\label{randomizedselect__test_8h_a9c7f8340d8feca1ae36c86ac11f8ba29}


randomized\+\_\+select\+\_\+test：测试\+C数组的顺序统计量 

四组数组： 增序排列、降序排列、有重复数字、单元素的数组 

Definition at line 31 of file randomizedselect\+\_\+test.\+h.

